package top.lt.lt_ssm.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import top.lt.lt_ssm.bean.activity;
import top.lt.lt_ssm.dao.ActivityDao;
import top.lt.lt_ssm.service.ActivityService;
@Service
public class ActivityServiceImpl implements ActivityService{
	@Resource
	public ActivityDao activityDao;
	@Override
	public List<activity> GetActivityAll() {
		return activityDao.GetActivityAll();
	}

	@Override
	public activity GetActivityBy(int act_id) {
		return activityDao.GetActivityBy(act_id);
	}

	@Override
	public int DelByid(int id) {
		return activityDao.DelByid(id);
	}

	@Override
	public List<activity> gatin1(String bt) {
		return activityDao.gatin1(bt);
	}

	@Override
	public int input(activity stl) {
		return activityDao.input(stl);
	}

	@Override
	public int upd(activity stl) {
		return activityDao.upd(stl);
	}

}
